<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>跳转到Obsidian</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
            background-color: #f5f5f5;
        }
        .container {
            text-align: center;
            background: white;
            padding: 2rem;
            border-radius: 10px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        .loading {
            font-size: 18px;
            color: #666;
            margin-bottom: 1rem;
        }
        .manual-link {
            margin-top: 1rem;
            padding: 10px 20px;
            background-color: #007acc;
            color: white;
            text-decoration: none;
            border-radius: 5px;
            display: inline-block;
        }
        .manual-link:hover {
            background-color: #005a9e;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="loading">正在跳转到Obsidian...</div>
        <p>如果没有自动跳转，请点击下方链接：</p>
        <a href="obsidian://open?vault=obnote&file=2-%E6%88%91%E7%9A%84%E5%B7%A5%E4%BD%9C%2F2-%E7%AE%A1%E9%A1%B9%E7%9B%AE%2F01%E9%A1%B9%E7%9B%AE-%E9%80%9A%E5%8A%9E%2F%E4%B8%93%E9%A2%98%E4%BB%BB%E5%8A%A1%2F%E4%B8%93%E9%A2%98%EF%BC%9A%E9%9C%80%E6%B1%82%E5%88%86%E6%9E%90%EF%BC%88%E9%80%9A%E5%8A%9E%EF%BC%89%2F%E6%88%90%E6%95%88%E6%80%BB%E7%BB%93%2F%E5%85%B3%E9%94%AE%E4%BA%A7%E5%87%BA%2F%E9%80%9A%E5%8A%9E%E9%A1%B9%E7%9B%AE%E9%9C%80%E6%B1%82%E5%88%86%E6%9E%90%E8%AE%B0%E5%BD%95" class="manual-link">打开Obsidian笔记</a>
    </div>

    <script>
        // 页面加载后立即尝试跳转
        window.onload = function() {
            // 延迟1秒后跳转，给用户看到页面内容的时间
            setTimeout(function() {
                window.location.href = "obsidian://open?vault=obnote&file=2-%E6%88%91%E7%9A%84%E5%B7%A5%E4%BD%9C%2F2-%E7%AE%A1%E9%A1%B9%E7%9B%AE%2F01%E9%A1%B9%E7%9B%AE-%E9%80%9A%E5%8A%9E%2F%E4%B8%93%E9%A2%98%E4%BB%BB%E5%8A%A1%2F%E4%B8%93%E9%A2%98%EF%BC%9A%E9%9C%80%E6%B1%82%E5%88%86%E6%9E%90%EF%BC%88%E9%80%9A%E5%8A%9E%EF%BC%89%2F%E6%88%90%E6%95%88%E6%80%BB%E7%BB%93%2F%E5%85%B3%E9%94%AE%E4%BA%A7%E5%87%BA%2F%E9%80%9A%E5%8A%9E%E9%A1%B9%E7%9B%AE%E9%9C%80%E6%B1%82%E5%88%86%E6%9E%90%E8%AE%B0%E5%BD%95";
            }, 1000);
        };
    </script>
</body>
</html>